﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace RetingManager
{
    public partial class HelpWnd : Form
    {
        public HelpWnd()
        {
            InitializeComponent();
            string file = Application.StartupPath;
            if (file[file.Length - 1] != '\\')
            {
                file += "\\";
            }
            file += "help.mht";
            if (File.Exists(file))
            {
                webBrowser1.Navigate(file);
            }
            else
            {
                webBrowser1.DocumentText = "Файл помощи не найден.";
            }
        }
    }
}
